package com.zhonghui.service;

import com.zhonghui.common.core.result.FwResult;
import com.zhonghui.dto.CartAddDto;
import com.zhonghui.dto.CartUpdateDto;

/**
 * @author: FL
 * @create: 2024 2024/5/11 14:53
 */
public interface CartService {
    FwResult getCartList();

    FwResult addCart(CartAddDto cartAddDto);

    FwResult updateCart(CartUpdateDto cartUpdateDto);

    FwResult deleteCart(Long id);

    FwResult clearCart();
}
